From: Juanma Barranquero Date: Thu, 1 Feb 2007 00:35:40 +0000 (+0000) Subject: (internal-find-face, internal-get-face): Doc fixes. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~2497 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e0ccc78f17155ae0c22c265d79595e2e3586b397;p=emacs.git (internal-find-face, internal-get-face): Doc fixes. --- diff --git a/lisp/faces.el b/lisp/faces.el index 53e3b004533..6cf5d4f4d1c 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -181,20 +181,16 @@ to NEW-FACE on frame NEW-FRAME." (defun internal-find-face (name &optional frame) "Retrieve the face named NAME. Return nil if there is no such face. -If the optional argument FRAME is given, this gets the face NAME for -that frame; otherwise, it uses the selected frame. -If FRAME is the symbol t, then the global, non-frame face is returned. -If NAME is already a face, it is simply returned." +If NAME is already a face, it is simply returned. +The optional argument FRAME is ignored." (facep name)) (make-obsolete 'internal-find-face 'facep "21.1") (defun internal-get-face (name &optional frame) "Retrieve the face named NAME; error if there is none. -If the optional argument FRAME is given, this gets the face NAME for -that frame; otherwise, it uses the selected frame. -If FRAME is the symbol t, then the global, non-frame face is returned. -If NAME is already a face, it is simply returned." +If NAME is already a face, it is simply returned. +The optional argument FRAME is ignored." (or (facep name) (check-face name))) (make-obsolete 'internal-get-face "see `facep' and `check-face'." "21.1")